home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part III.srd / Part III.srd.rsrc / PICT_65.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  125KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky | tree | windowpane
OCR: Chapter 6 Views and Controls IH3 In this example, the word thisCtl is actually Value that Mops prov ides as a simple way B I0J control action prrm to derive its owning control object. Mops automatically compiles late bound ref eference when Value used as the receiver of a message, and in this case thisCtl contains the control object address. This allows you to write very general action words that can be assigned to several different control objects simultaneously Design issues Because late bound messages must be sent to controls and windows. these objects cannot be defined as nomal named ivars because to op so would fail to provide class pointer for the runtime method lookup If you wish to make control or window an ivar you will need tc define subclass with the General attribute, then use ...